package com.business.systemmanage.common.entity.exception;

/**
 * @author Scott
 */
public class BaseException extends RuntimeException {
    private int code;

    public BaseException() {
    }

    public BaseException(int code) {
        this.code = code;
    }

    public BaseException(String message) {
        super(message);
    }

    public BaseException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return this.code;
    }
}
